<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{$url}_css/master.css" type="text/css" media="screen" rel="stylesheet" />
<title>Zameleon | {$title}</title>
{$head}
</head>
<body>
<div id="wrapper">
	<!-- Logo and navigation -->
	<div id="logo">
		<div class="navleft"><a href="{$url}"><img src="{$url}_images/logo.jpg" alt="LOGO" /></a></div>
{if !$is_logged_in}
		<div class="navright">
			<a href="{$url}register?app=signup">Register</a> <a href="javascript:searchPanel();">Search</a>
		</div>
{else}
		<div class="navright">
			<a href="{$url}profile">My Profile</a> <a href="{$url}logout">Logout</a> <a href="javascript:void(0);" onclick="searchPanel();">Search</a>
		</div>
{/if}
	</div>
	<br />
	<!-- Body -->
	<div id="body">
{if $subtemp == ""}
{$content}
{else}
{include $subtemp}
{/if}
	</div>
	<br />
	<!-- Copyright -->
	<div id="copyright">
		<div class="copyleft">&copy; 2008 Zameleon. All rights reserved. <a href="{$url}privacy-pol">Privacy Policy</a> | <a href="{$url}terms-and-cond">Terms and Conditions</a>
		<p>
			<a href="{$url}api"><img src="{$url}_images/api.png" alt="" /> API</a>
			<a href="{$url}contact-us"><img src="{$url}_images/contactus.png" alt="" /> Contact us</a>
			<a href="{$url}feedback"><img src="{$url}_images/feedback.png" alt="" /> Feedback</a>
			<a href="{$url}faq"><img src="{$url}_images/faq.png" alt="" /> FAQ</a>
			<a href="{$url}sitemap"><img src="{$url}_images/sitemap.png" alt="" /> Sitemap</a>
			<a href="{$url}feed"><img src="{$url}_images/feed.png" alt="" /> RSS Feed</a>
		</p>
		</div>
		<div class="copyright">&nbsp;</div>
	</div>
</div>
</body>
</html>